//
//  TestAddressFotterV.m
//  ShandsMod
//
//  Created by zh s on 2023/3/23.
//  Copyright © 2023 zh_s. All rights reserved.
//

#import "TestAddressFotterV.h"

@implementation TestAddressFotterV

- (instancetype)init {
    if (self = [super init]) {
        [self addViews];
    }
    return self;
}

- (void)addViews {
    UIView *backV = [BaseViewFactory viewWithFrame:CGRectMake(20, 0, SCREEN_WIDTH -40, 25) color:UIColor.whiteColor];
    [self addSubview:backV];
    [ToolsClass cellCornerRadius:13 withView:backV withByRoundingCorners:1];
    
    UILabel *titleLab = [BaseViewFactory labelWithFrame:CGRectZero textColor:RGBA(247, 184, 56, 1) font:FONT_NAME(FONT_Regular, 12) textAligment:NSTextAlignmentCenter andtext:@"当前可领取数量：3"];
    [backV addSubview:titleLab];
    [titleLab mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerX.mas_equalTo(backV.mas_centerX);
        make.bottom.mas_equalTo(backV.mas_bottom).mas_offset(-7);
        make.height.mas_equalTo(16);
    }];
}
@end
